﻿using System;

namespace Mozhi.Abp.Module.DataLinkage.Events
{
    public class DataLinkageCreateEvent
    {
        public Guid? TenantId { get; set; }

        public Guid ProviderId { get; set; }

        public string ProviderType { get; set; }

        public string ProviderContent { get; set; }

        public Guid ConsumerId { get; set; }

        public string ConsumerType { get; set; }

        public string ConsumerContent { get; set; }

        public DataLinkageCreateEvent(Guid? tenantId, Guid providerId, string providerType, string providerContent, Guid consumerId, string consumerType, string consumerContent)
        {
            TenantId = tenantId;
            ProviderId = providerId;
            ProviderType = providerType;
            ProviderContent = providerContent;
            ConsumerId = consumerId;
            ConsumerType = consumerType;
            ConsumerContent = consumerContent;
        }
    }
}
